<template>
    <el-result
        icon="warning"
        title="404"
        sub-title="你找的页面走丢了~~"
      >
        <template #extra>
          <!-- $router 只能在template中使用 -->
          <el-button type="primary" @click="$router.push('/')">Back</el-button>
        </template>
      </el-result>
</template>
